﻿Imports System.Windows.Forms

Public Class PrincipalMDI


    Private Sub MDIParent1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub InmuebleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InmuebleToolStripMenuItem.Click

        Dim ChildForm As New InmuebleMain
        ChildForm.MdiParent = Me
        ChildForm.Show()
    End Sub

    Private Sub EstudianteToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EstudianteToolStripMenuItem.Click
        Dim ChildForm As New EstudianteListar
        ChildForm.MdiParent = Me
        ChildForm.Show()
    End Sub

    Private Sub ReservasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ReservasToolStripMenuItem.Click
        Dim ChildForm As New ReservaListar
        ChildForm.MdiParent = Me
        ChildForm.Show()
    End Sub

    Private Sub DueñoToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DueñoToolStripMenuItem.Click
        Dim ChildForm As New DueñoListar
        ChildForm.MdiParent = Me
        ChildForm.Show()
    End Sub

    Private Sub CentroDeEstudiosToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CentroDeEstudiosToolStripMenuItem.Click
        Dim ChildForm As New CentroEstudioMain
        ChildForm.MdiParent = Me
        ChildForm.Show()
    End Sub
End Class
